<template name="signin">
  <div class="container">
    <form class="form-signin">
      <h2 class="form-signin-heading">请登录</h2>
      {{#if errorMessages}}
        <div class="list-errors">
          {{#each errorMessages}}
            <div class="error-list-item">{{this}}</div>
          {{/each}}
        </div>
      {{/if}}
      <label for="inputEmail" class="sr-only">手机</label>
      <input type="text" id="inputPhone" class="form-control" placeholder="手机" required autofocus>
      <label for="inputPassword" class="sr-only">密码</label>
      <input type="password" id="inputPassword" class="form-control" placeholder="密码" required>
      <div class="checkbox">
        <label>
          <input type="checkbox" value="remember-me"> 记住密码
        </label>
      </div>
      <button class="btn btn-md btn-primary " type="submit"> 登 录 </button>
      <a href="/join"> 没有账户? </a>
    </form>
  </div>
</template>
<template name="join">
  <div class="container">
    <form class="form-signin">
      <h2 class="form-signin-heading">请注册</h2>
      {{#if errorMessages}}
        <div class="list-errors">
          {{#each errorMessages}}
            <div class="error-list-item">{{this}}</div>
          {{/each}}
        </div>
      {{/if}}
      <label for="inputEmail" class="sr-only">手机</label><input type="text" id="inputPhone" class="form-control" placeholder="手机" required autofocus>
      <label for="inputPassword" class="sr-only">密码</label><input type="password" id="inputPassword" class="form-control" placeholder="密码" required style="    border-radius: 0px;margin-bottom: -1px;">
      <label for="inputPassword" class="sr-only">确认密码</label><input type="password" id="inputrePassword" class="form-control" placeholder="确认密码" required>
      <button class="btn btn-md btn-primary " type="submit"> 注册 </button>
      <a href="/signin"> 登 录? </a>
    </form>
  </div>
</template>
